// Compiler for PHP (aka KPHP)
// Copyright (c) 2025 LLC «V Kontakte»
// Distributed under the GPL v3 License, see LICENSE.notice.txt

#pragma once

#include <cstdint>

#include "runtime-common/core/class-instance/refcountable-php-classes.h"
#include "runtime-common/core/runtime-core.h"

struct C$KphpSpanEvent : public refcountable_php_classes<C$KphpSpanEvent> {
  int32_t span_id{0};

  C$KphpSpanEvent() noexcept = default;
  explicit C$KphpSpanEvent(int32_t span_id) noexcept
      : span_id(span_id) {}
};

inline void f$KphpSpanEvent$$addAttributeString([[maybe_unused]] const class_instance<C$KphpSpanEvent>& v$this, [[maybe_unused]] const string& key,
                                                [[maybe_unused]] const string& value) noexcept {}

inline void f$KphpSpanEvent$$addAttributeInt([[maybe_unused]] const class_instance<C$KphpSpanEvent>& v$this, [[maybe_unused]] const string& key,
                                             [[maybe_unused]] int64_t value) noexcept {}

inline void f$KphpSpanEvent$$addAttributeFloat([[maybe_unused]] const class_instance<C$KphpSpanEvent>& v$this, [[maybe_unused]] const string& key,
                                               [[maybe_unused]] double value) noexcept {}

inline void f$KphpSpanEvent$$addAttributeBool([[maybe_unused]] const class_instance<C$KphpSpanEvent>& v$this, [[maybe_unused]] const string& key,
                                              [[maybe_unused]] bool value) noexcept {}
